FROM openjdk:8-jdk-alpine

ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
# 设定时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone


VOLUME /tmp

COPY ./target/service_acl-0.0.1-SNAPSHOT.jar service_acl.jar

ENTRYPOINT ["java","-jar","/service_acl.jar","&"]

#EXPOSE 8009